文章目录
  1. 1. flash播放器 flvplayer.swf 参数配置 js 视频播放

flash播放器 flvplayer.swf 参数配置 js 视频播放

代码调用方式一

( 推荐 兼容性好) 第一步:

第二步:

Get](http://www.macromedia.com/go/getflashplayer%27%3EGet) the Flash Player to see this player.

第三步:

var s7 = new SWFObject(“FlvPlayer.swf”,”playlist”,”300”,”312”,”7”);

s7.addParam(“allowfullscreen”,”true”);

s7.addVariable(“displayheight”,”200”);

s7.addVariable(“shuffle”,”true”);

s7.addVariable(“autostart”,”false”);

s7.addVariable(“backcolor”,”0x3b2e7e”);

s7.addVariable(“frontcolor”,”0xCCCCCC”);

s7.addVariable(“lightcolor”,”0xffffff”);

s7.addVariable(“width”,”300”);

s7.addVariable(“height”,”312”);

s7.write(“player7”);

 

 

代码调用方式二 <object type=”application/x-shockwave-flash” width=”400” height=”220” wmode=”transparent data=”FlvPlayer201002.swf?file=movies/001.flv”>

文章目录
  1. 1. flash播放器 flvplayer.swf 参数配置 js 视频播放